package com.ty.user.starter.constants;

public class Constant {
    private Constant() {
    }

    /* 常见错误提醒 */
    public static final String ID_IS_NULL = "新增操作,id必须为空";
    public static final String ID_NOT_NULL = "编辑操作,id不能为空";
    public static final String BUS_BEHAVIOR_MSG = "当前数据已发生业务行为,不能删除";
    /* 数据请求返回码 */

    /* 成功 */
    public static final int CODE_SUCCESS = 1000;
    /* 成功(有返回信息) */
    public static final int CODE_SUCCESS_MSG = 1001;
    /* 请求抛出异常 */
    public static final int CODE_EXCEPTION = 1002;
}
